//
//  WeiboHelper.h
//  ShareTest
//
//  Created by Eric Wang on 15/2/2.
//  Copyright (c) 2015年 LinkMob. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WeiboSDK.h"

@protocol WEIBODelegate <NSObject>

@optional
-(void)WeiboResponse:(WBBaseResponse *)response;
@end

@interface WeiboHelper : NSObject <WeiboSDKDelegate, WBHttpRequestDelegate>

@property (nonatomic, strong) NSString *accessToken;

+ (instancetype)shareInstance;

- (void)SSOLogin;

/**
 * @brief 分享
 *
 * @param title 标题
 * @param imageData 本地图片
 * @param imageUrl 网络图片
 *
 */
- (void)shareTitle:(NSString *)title
        localImage:(NSData *)imageData
       remoteImage:(NSString *)imageUrl;

@property (nonatomic, assign) id<WEIBODelegate> delegate;

@end
